package com.kedacom.socketdemo;

import android.app.Application;
import android.util.Log;

import io.reactivex.functions.Consumer;
import io.reactivex.plugins.RxJavaPlugins;

/**
 * <pre>
 *     作者：Caowj
 *     邮箱：caoweijian@kedacom.com
 *     日期：2020/6/4 16:32
 * </pre>
 */

public class MainApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
//        RxJavaPlugins.setErrorHandler(new Consumer<Throwable>() {
//            @Override
//            public void accept(Throwable throwable) throws Exception {
//                Log.i("throwable==", throwable.getMessage());
//            }
//        });
    }
}
